<?php
/**
 * @Author: Marte
 * @Date:   2017-08-06 08:02:28
 * @Last Modified by:   Marte
 * @Last Modified time: 2017-08-27 08:27:43
 */




    $_mysql=new mysqli('122.9.2.122','a0826191930','de115bdc','a0826191930');
    if(mysqli_connect_errno())
    {
        echo "数据库连接错误，错误信息是：".mysqli_connect_error();
        exit();
    }

    $_mysql->set_charset('utf8');

// @mysql_connect('localhost','root','zjj19970517');
// mysql_select_db('school');
// mysql_query('set names utf8');




?>











